
#ifndef _INC_CE_PROCESS_
#define _INC_CE_PROCESS_

#ifdef __cplusplus
extern "C" {
#endif



unsigned long beginthread(
	void (*initialcode)(void *),
	unsigned stacksize, void * argument
);

void endthread (void);

unsigned long beginthreadex(
	void *security, 
	unsigned stacksize, 
	unsigned (*initialcode)(void *), 
	void * argument, 
	unsigned createflag, 
	unsigned *thrdaddr
);

void endthreadex(unsigned retcode);




#ifdef __cplusplus
};
#endif

#endif